package com.github.soiff.shadow.plugin.common;

import java.io.Serializable;
import java.util.Map;

/**
 * Created by Soiff on 2016/05/20.
 *
 * @author : Soiff
 */
public class Component implements Serializable {
    private static final long serialVersionUID = -1877549770928584021L;
    private String path;
    private String category = "ADMIN";
    private String name;
    private String desc;
    private String service;
    private Map<String, String> services;

    public Component() {
    }

    public String toString() {
        return "Component(path=" + this.getPath() + ", category=" + this.getCategory() + ", name=" + this.getName() + ", desc=" + this.getDesc() + ", service=" + this.getService() + ", services=" + this.getServices() + ")";
    }

    public String getPath() {
        return this.path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getCategory() {
        return this.category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getService() {
        return this.service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public Map<String, String> getServices() {
        return this.services;
    }

    public void setServices(Map<String, String> services) {
        this.services = services;
    }
}
